 #import <UIKit/UIKit.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import "MediaPlayer.h"
#import "Screen.h"
#import "Stage.h"
#import <AudioToolbox/AudioServices.h>
@interface GameViewController : UIViewController
{
@protected
    Stage* stage;
	NSTimer* gameTimer;

	MediaPlayer* currentSong;
	Screen* currentScreen;
	int state;
	int update;
}

- (void)paintScreen;
- (void)stateMachine;
- (void)action:(int)x y:(int)y;
- (void)pause;
- (void)resume;

@end

